package  com.songyl.patternLearn.FactoryPattern;

import org.junit.Test;

public class Client {

    @Test
    public void play(){
        Shape shape =ShapeFactory.createShapeBySign("circle");
        shape.draw();

        Shape shape1 =ShapeFactory.createShapeBySign("square");
        shape1.draw();
    }
}
